from django.db import models
from utils.MyBaseModel import BaseModel


class OauthUser(BaseModel):
    uid = models.CharField('微博id', max_length=64)
    user = models.ForeignKey('users.User', on_delete=models.CASCADE)

    class Meta:
        db_table = 'OauthUser'
